#pragma once

#include "precompiled.h"

// Forward Declarations.
typedef struct _awe_webview awe_webview;

class UI_Manager
{
public:
	UI_Manager(int width, int height);
	~UI_Manager(void);

	void UpdateDraw();
	void GetInput();

private:
	void init_Awesomium();

	void init_UI_Local();
	void init_UI_URL();


	void cleanup_Awesomium();

	// Make our UI talk to us.
	void manage_callbacks();

	awe_webview* ui_webView;
	int ui_width, ui_height;
	glm::ivec2 mousePos;

	static const int default_width = 640;
	static const int default_height = 480;
};

